﻿public static class GlobalMembersLCUI_StyleLibrary
{
	public static StyleLIB_Property_ StyleLIB_Property = new StyleLIB_Property_();


	// 销毁样式库 
//C++ TO C# CONVERTER TODO TASK: The implementation of the following method could not be found:
	//public void StyleLIB_Destroy(StyleLIB_Library_ lib_ptr);

	// 初始化样式库 
//C++ TO C# CONVERTER TODO TASK: The implementation of the following method could not be found:
	//public void StyleLIB_Init(StyleLIB_Library_ lib_ptr);

	// 添加一个选择器 
//C++ TO C# CONVERTER TODO TASK: The implementation of the following method could not be found:
	//public StyleLIB_Element_ StyleLIB_AddSelector(StyleLIB_Library_ lib_ptr, string selector_name);

	// 添加一个类 
//C++ TO C# CONVERTER TODO TASK: The implementation of the following method could not be found:
	//public StyleLIB_Element_ StyleLIB_AddClass(StyleLIB_Library_ lib_ptr, string class_name);

	// 为 选择器/类 添加属性 
//C++ TO C# CONVERTER TODO TASK: The implementation of the following method could not be found:
	//public int StyleLIB_AddProperty(StyleLIB_Element_ element_ptr, string pseudo_class_name, string property_name, string property_value);

	// 获取选择器的句柄 
//C++ TO C# CONVERTER TODO TASK: The implementation of the following method could not be found:
	//public StyleLIB_Element_ StyleLIB_GetSelector(StyleLIB_Library_ lib_ptr, string selector_name);

	// 获取类的句柄 
//C++ TO C# CONVERTER TODO TASK: The implementation of the following method could not be found:
	//public StyleLIB_Element_ StyleLIB_GetClass(StyleLIB_Library_ lib_ptr, string class_name);

	// 获取属性的句柄 
//C++ TO C# CONVERTER TODO TASK: The implementation of the following method could not be found:
	//public StyleLIB_Property StyleLIB_GetProperty(ref StyleLIB_Selector selector_ptr, StyleLIB_Element_ class_ptr, string pseudo_class_name, string property_name);

	// 获取属性值 
//C++ TO C# CONVERTER TODO TASK: The implementation of the following method could not be found:
	//public LCUI_BOOL StyleLIB_GetPropertyValue(ref StyleLIB_Selector selector_ptr, StyleLIB_Element_ class_ptr, string pseudo_class_name, string property_name, ref string value_buff);

	// 设置属性的值 
//C++ TO C# CONVERTER TODO TASK: The implementation of the following method could not be found:
	//public void StyleLIB_SetPropertyValue(ref StyleLIB_Property property_ptr, string property_value);

	// 根据字符串的内容，往样式库里添加相应样式 
//C++ TO C# CONVERTER TODO TASK: The implementation of the following method could not be found:
	//public int StyleLIB_AddStyleFromString(StyleLIB_Library_ lib, string style_string);


	// 根据指定文件内的数据，往样式库里添加相应样式 
//C++ TO C# CONVERTER TODO TASK: The implementation of the following method could not be found:
	//public int StyleLIB_AddStyleFromFile(StyleLIB_Library_ lib, string filepath);


//C++ TO C# CONVERTER TODO TASK: The following statement was not recognized, possibly due to an unrecognized macro:
	//LCUI_END_HEADER

	////#endif
}
//#if ! __LCUI_STYLE_LIBRARY_H__
//#define __LCUI_STYLE_LIBRARY_H__

public class StyleLIB_Property_
{
	public LCUI_String name = new LCUI_String(); // 属性名 
	public LCUI_String @value = new LCUI_String(); // 属性值 
}

public class StyleLIB_PseudoClass_
{
	public LCUI_String name = new LCUI_String(); // 伪类的名称 
//C++ TO C# CONVERTER TODO TASK: The implementation of the following method could not be found:
//	LCUI_Queue property; // 伪类的属性集 
}

public class StyleLIB_Element_
{
	public LCUI_String name = new LCUI_String(); // 名称 
//C++ TO C# CONVERTER TODO TASK: The implementation of the following method could not be found:
//	LCUI_Queue property; // 属性集 
	public LCUI_Queue pseudo_class = new LCUI_Queue(); // 拥有的伪类 
}

public class StyleLIB_Library_
{
	public LCUI_Queue selectors = new LCUI_Queue(); // 选择器 
	public LCUI_Queue classes = new LCUI_Queue(); // 类 
}
